import service from "@/service";

//概览
export function beamOverview(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/beamSummary`,
    method: "POST",
    data,
  });
}

//进度管理
export function progressStatistics(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/progressStatistics`,
    method: "POST",
    data,
  });
}

//钢筋原材进消存情况
export function lcMaterial(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/lcMaterial`,
    method: "POST",
    data,
  });
}

//质量问题统计
export function qualityProblemStatistics(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/qualityProblemStatistics`,
    method: "POST",
    data,
  });
}

//设备管理
export function equList(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen5/equList`,
    method: "POST",
    data,
  });
}

//设备管理
export function equStatistics(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen5/equStatistics`,
    method: "POST",
    data,
  });
}

//详情列表
export function getBeamInfoTJList(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/beamInfoTJList`,
    method: "POST",
    data,
  });
}

//明细导出
export function downLoadBeamInfoTJList(data) {
  return service({
    baseUrl: "gateWaybaseUrl",
    url: `/beam/bigScreen2/downLoadBeamInfoTJList`,
    method: "POST",
    apiType: "file",
    responseType: "arraybuffer",
    data,
  });
}
